﻿using System;
using log4net;

namespace Mailer
{
	class Logger
	{		 
		[Obsolete]
		public static void Warn(Type t, string txt)
		{
			ILog l = LogManager.GetLogger(t.FullName);
			l.Warn(txt);
		}

		[Obsolete]
		public static void Debug(Type t, string txt)
		{
			ILog l = LogManager.GetLogger(t.FullName);
			l.Debug(txt);
		}
	}
}
